package AbstractKeyWord.AbsTest;

/**
 * @author Jimmy
 * @date 2022/12/26 - 21:33
 */
public class Manager extends Employee{

    private double bonus;

    public Manager() {
    }

    public Manager(String name, String id, double salary, double bonus) {
        super(name, id, salary);
        this.bonus = bonus;
    }

    @Override
    public void work() {
        System.out.println("Manage employee.");
    }
}
